﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="login.aspx.cs" Inherits="RastinArgham.CRM.Web.login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3 class="ui-widget-header">
        ورود به سیستم
    </h3>
    <div class="ui-widget-content" style="text-align:center">
       <center>
        <table style="height: 400px; padding-top: 80px; margin:0 auto;">
            <tr>
                <td colspan="2">
                    <img src="/images/user.png" alt="" />
                </td>
            </tr>
            <tr>
                <td class="ltr2">
                    <asp:Label CssClass="label" ID="UserNameLabel" runat="server" AssociatedControlID="UserName">
                                    نام کاربری
                    </asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="UserName" CssClass="ltr" runat="server" />
                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                        ErrorMessage=" " ValidationGroup="loginForm" Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="ltr2">
                    <asp:Label ID="PasswordLabel" CssClass="label" runat="server" AssociatedControlID="Password">
                                    رمز عبور
                    </asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Password" CssClass="ltr" runat="server" TextMode="Password" />
                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" Display="Dynamic"
                        ControlToValidate="Password" ValidationGroup="loginForm">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:CheckBox ID="RememberMe" runat="server" Text="مرا به یاد داشته باش" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2" class="ltr2">
                    <asp:Button CssClass="submitbutton" ID="LoginButton" runat="server" Text="ورود به سیستم"
                        CommandName="Login" ValidationGroup="loginForm" OnClick="LoginButton_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False" />
                </td>
            </tr>
        </table>
     </center>
    </div>
</asp:Content>
